package com.by.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户订单配送地址;
 * @author : http://www.chiner.pro
 * @date : 2025-4-14
 */
@Data
@ApiModel(value = "用户订单配送地址",description = "")
@TableName(value="order_addr")
public class OrderAddr implements Serializable,Cloneable {
    /** ID */
    @Id
    @ApiModelProperty(name = "ID", notes = "")
    private Integer orderAddrId;
    /**
     * 用户ID
     */
    @ApiModelProperty(name = "用户ID", notes = "")
    private int userId;
    /**
     * 收货人
     */
    @ApiModelProperty(name = "收货人", notes = "")
    private String consignee;
    /**
     * 省ID
     */
    @ApiModelProperty(name = "省ID", notes = "")
    private int provinceId;
    /**
     * 省
     */
    @ApiModelProperty(name = "省", notes = "")
    private String province;
    /**
     * 城市ID
     */
    @ApiModelProperty(name = "城市ID", notes = "")
    private int cityId;
    /**
     * 城市
     */
    @ApiModelProperty(name = "城市", notes = "")
    private String city;
    /**
     * 区域ID
     */
    @ApiModelProperty(name = "区域ID", notes = "")
    private int areaId;
    /**
     * 区
     */
    @ApiModelProperty(name = "区", notes = "")
    private String area;
    /**
     * 地址
     */
    @ApiModelProperty(name = "地址", notes = "")
    private String addr;
    /**
     * 邮编
     */
    @ApiModelProperty(name = "邮编", notes = "")
    private String postCode;
    /**
     * 手机
     */
    @ApiModelProperty(name = "手机", notes = "")
    private String mobile;
    /**
     * 经度
     */
    @ApiModelProperty(name = "经度", notes = "")
    private Double lng;
    /**
     * 纬度
     */
    @ApiModelProperty(name = "纬度", notes = "")
    private Double lat;
}